package com.ntschy.bt.entity.dto.BtHelpDTO.InputDTO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ntschy.bt.entity.enums.BtHelpEnterResultEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author CM
 */
@Data
@ToString(callSuper = true)
@ApiModel(description = "结果录入DTO")
public class BtHelpInputDTO {

    private static final long serialVersionUID = 1L;


    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @NotBlank(message = "主键ID不能为空")
    @Length(min = 36, max = 36, message = "ID长度不合法")
    private String id;

    /**
     * 录入人ID
     */
    @NotBlank(message = "录入人ID不能为空")
    @Length(min = 36, max = 36, message = "ID长度不合法")
    @ApiModelProperty(value = "录入人ID")
    private String enterUserId;

    /**
     * 录入人姓名
     */
    @NotBlank(message = "录入人姓名不能为空")
    @ApiModelProperty(value = "录入人姓名")
    private String enterUserName;


    /**
     * 处理结果
     */
    @ApiModelProperty(value = "处理结果 1已解决 2未解决")
    @NotBlank(message = "处理结果不能为空")
    private BtHelpEnterResultEnum enterResult;




}
